runtime.p.status (field)
31 uses
runtime (current package)
metrics.go#L815: if p == nil || p.status == _Pdead {
metrics.go#L819: switch p.status {
mgc.go#L1547: if pp.status == _Pidle {
mgcpacer.go#L743: if p.status != _Prunning {
preempt.go#L290: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning && mp.curg != nil && readgstatus(mp.curg)&^_Gscan != _Gsyscall
proc.go#L1663: gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
proc.go#L1682: pp.status = _Pgcstop
proc.go#L1719: if pp.status != _Pgcstop {
proc.go#L3159: pp.status = _Pgcstop
proc.go#L3312: pp.status = _Pgcstop
proc.go#L4764: atomic.Store(&pp.status, _Pgcstop)
proc.go#L5909: pp.status = _Pgcstop
proc.go#L6019: pp.status = _Pdead
proc.go#L6085: gp.m.p.ptr().status = _Prunning
proc.go#L6108: pp.status = _Pidle
proc.go#L6146: pp.status = _Pidle
proc.go#L6306: if pp.m != 0 || pp.status != _Pidle {
proc.go#L6314: print("wirep: p->m=", pp.m, "(", id, ") p->status=", pp.status, "\n")
proc.go#L6320: pp.status = _Prunning
proc.go#L6341: if pp.m.ptr() != gp.m || pp.status != _Prunning {
proc.go#L6342: print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
proc.go#L6351: pp.status = _Pidle
proc.go#L6648: if pp == nil || atomic.Load(&pp.status) != _Prunning {
proc.go#L6751: if pp.status != _Prunning {
proc.go#L6824: atomic.Store(&s.pp.status, state)
proc.go#L6846: if pp.status != _Prunning {
proc.go#L6917: print(" P", i, ": status=", pp.status, " schedtick=", pp.schedtick, " syscalltick=", pp.syscalltick, " m=")
proc.go#L7672: if pp.status == _Prunning {
runtime2.go#L774: status uint32 // one of pidle/prunning/...
tracestatus.go#L55: switch pp.status {
tracestatus.go#L58: if pp.status == _Pgcstop && inSTW {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |